<%@page import="tx.bjdacp.model.*" %>
<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/commons/taglibs.jsp" %>
<s:bean name="tx.bjdacp.service.ZoneManager" var="zoneManager" ></s:bean>
<s:bean name="tx.bjdacp.service.DataDictManager" var="dataDictManager" ></s:bean>

	<s:hidden id="drugSellUnitId" name="drugSellUnitId" />

<!-- ONGL access static field: @package.class@field or @vs@field -->

<s:textfield label="%{@tx.bjdacp.model.DrugSellUnit@ALIAS_FILE_NUMBER}" key="fileNumber" value="%{model.fileNumber}" cssClass="" required="false" />

<s:select label="所在镇"  list="#zoneManager.findAll()"
				                key="zoneId"  headerKey=""  headerValue="请选择..." listValue="zoneName" listKey="zoneId"/>


	<s:textfield label="%{@tx.bjdacp.model.DrugSellUnit@ALIAS_UNIT_NAME}" key="unitName" value="%{model.unitName}" cssClass="" required="false" />


	<s:textfield label="%{@tx.bjdacp.model.DrugSellUnit@ALIAS_REGIST_ADDRESS}" key="registAddress" value="%{model.registAddress}" cssClass="" required="false" />


	<s:textfield label="%{@tx.bjdacp.model.DrugSellUnit@ALIAS_ARTIFICIAL_PERSON}" key="artificialPerson" value="%{model.artificialPerson}" cssClass="" required="false" />


	<s:textfield label="%{@tx.bjdacp.model.DrugSellUnit@ALIAS_UNIT_PRINCIPAL}" key="unitPrincipal" value="%{model.unitPrincipal}" cssClass="" required="false" />


	<s:textfield label="%{@tx.bjdacp.model.DrugSellUnit@ALIAS_QUALITY_PRINCIPAL}" key="qualityPrincipal" value="%{model.qualityPrincipal}" cssClass="" required="false" />


	<s:textfield label="%{@tx.bjdacp.model.DrugSellUnit@ALIAS_APOTHECARY}" key="apothecary" value="%{model.apothecary}" cssClass="" required="false" />
	<s:textfield label="%{@tx.bjdacp.model.DrugSellUnit@ALIAS_APOTHECARY2}" key="apothecary2" value="%{model.apothecary2}" cssClass="" required="false" />
	<s:textfield label="%{@tx.bjdacp.model.DrugSellUnit@ALIAS_APOTHECARY_CHINA}" key="apothecaryChina" value="%{model.apothecaryChina}" cssClass="" required="false" />


	<s:textfield label="%{@tx.bjdacp.model.DrugSellUnit@ALIAS_SELL_MODE}" key="sellMode" value="%{model.sellMode}" cssClass="" required="false" />


	<s:textfield label="%{@tx.bjdacp.model.DrugSellUnit@ALIAS_SELL_AREA}" key="sellArea" value="%{model.sellArea}" cssClass="" required="false" />


	<s:textfield label="%{@tx.bjdacp.model.DrugSellUnit@ALIAS_STORAGE_ADDRESS}" key="storageAddress" value="%{model.storageAddress}" cssClass="" required="false" />


	<s:textfield label="%{@tx.bjdacp.model.DrugSellUnit@ALIAS_LICENCE_CODE}" key="licenceCode" value="%{model.licenceCode}" cssClass="" required="false" />


	<tr>
		<td class="tdLabel">
			<%=DrugSellUnit.ALIAS_UNIT_FOUND_DATE%>:
		</td>
		<td>
		<input value="${model.unitFoundDateString}" onclick="WdatePicker({dateFmt:'<%=DrugSellUnit.FORMAT_UNIT_FOUND_DATE%>'})" id="unitFoundDateString" name="unitFoundDateString"  class="" />
		</td>
	</tr>


	<tr>
		<td class="tdLabel">
			<%=DrugSellUnit.ALIAS_LICENCE_GIVE_DATE%>:
		</td>
		<td>
		<input value="${model.licenceGiveDateString}" onclick="WdatePicker({dateFmt:'<%=DrugSellUnit.FORMAT_LICENCE_GIVE_DATE%>'})" id="licenceGiveDateString" name="licenceGiveDateString"   class="" />
		</td>
	</tr>


	<tr>
		<td class="tdLabel">
			<%=DrugSellUnit.ALIAS_LICENCE_EXPIRY_DATE%>:
		</td>
		<td>
		<input value="${model.licenceExpiryDateString}" onclick="WdatePicker({dateFmt:'<%=DrugSellUnit.FORMAT_LICENCE_EXPIRY_DATE%>'})" id="licenceExpiryDateString" name="licenceExpiryDateString"   class="" />
		</td>
	</tr>


	<s:textfield label="%{@tx.bjdacp.model.DrugSellUnit@ALIAS_GSP_CODE}" key="gspCode" value="%{model.gspCode}" cssClass="" required="false" />


	<tr>
		<td class="tdLabel">
			<%=DrugSellUnit.ALIAS_GSP_GIVE_DATE%>:
		</td>
		<td>
		<input value="${model.gspGiveDateString}" onclick="WdatePicker({dateFmt:'<%=DrugSellUnit.FORMAT_GSP_GIVE_DATE%>'})" id="gspGiveDateString" name="gspGiveDateString"   class="" />
		</td>
	</tr>


	<tr>
		<td class="tdLabel">
			<%=DrugSellUnit.ALIAS_GSP_EXPIRY_DATE%>:
		</td>
		<td>
		<input value="${model.gspExpiryDateString}" onclick="WdatePicker({dateFmt:'<%=DrugSellUnit.FORMAT_GSP_EXPIRY_DATE%>'})" id="gspExpiryDateString" name="gspExpiryDateString"   class="" />
		</td>
	</tr>


						<s:radio label="%{@tx.bjdacp.model.DrugSellUnit@ALIAS_IS_LOGOUT}" list="#dataDictManager.findAllByTypeBoolean()" key="isLogout" listValue="ddName" listKey="ddName" cssClass="validate-one-required"/>

<tr>
		<td class="tdLabel">
			<%=DrugSellUnit.ALIAS_LOGOUT_DATE%>:
		</td>
		<td>
		<input value="${model.logoutDate}" onclick="WdatePicker({dateFmt:'<%=DrugSellUnit.FORMAT_UNIT_FOUND_DATE%>'})" id="logoutDate" name="logoutDate"   class="" />
		</td>
	</tr>




	<s:textfield label="%{@tx.bjdacp.model.DrugSellUnit@ALIAS_MOBEL_PHONE}" key="mobelPhone" value="%{model.mobelPhone}" cssClass="" required="false" />


	<s:textfield label="%{@tx.bjdacp.model.DrugSellUnit@ALIAS_PHONE}" key="phone" value="%{model.phone}" cssClass="" required="false" />

					<s:radio label="%{@tx.bjdacp.model.DrugSellUnit@ALIAS_IS_TOUR_DRUGSTORE}" list="#dataDictManager.findAllByTypeBoolean()" key="isTourDrugstore"   listValue="ddName" listKey="ddValue"/>


				<s:radio label="%{@tx.bjdacp.model.DrugSellUnit@ALIAS_IS_SELL_CHINESE_MEDICINE}" list="#dataDictManager.findAllByTypeBoolean()" key="isSellChineseMedicine"   listValue="ddName" listKey="ddValue"/>

		<s:radio label="%{@tx.bjdacp.model.DrugSellUnit@ALIAS_IS_OTCUNIT}"  list="#dataDictManager.findAllByTypeBoolean()" key="isOtcunit"   listValue="ddName" listKey="ddValue"/>


	<s:radio label="%{@tx.bjdacp.model.DrugSellUnit@ALIAS_IS_RESEND_LICENSE}" list="#dataDictManager.findAllByTypeBoolean()" key="isResendLicense"   listValue="ddName" listKey="ddValue"/>


	<s:radio  label="%{@tx.bjdacp.model.DrugSellUnit@ALIAS_IS_STOP}" list="#dataDictManager.findAllByTypeBoolean()" key="isStop" listValue="ddName" listKey="ddValue" />

